package com.egreen.common.pojo.entity.system;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommodityExchangeRecord implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer id;

    /**
     *  兑换时间（自动生成）
     */
    private LocalDateTime exchangeTime;

    /**
     *  兑换用户id 
     */
    private Long userId;

    /**
     * 兑换物品id
     */
    private Integer commodityId;

    /**
     *  该条记录的状态 
     */
    private String state;

    /**
     *  物流信息 
     */
    private String logisticsInformation;

    /**
     * 逻辑删除字段，0表示未删除
     */
    private Integer deleted;


}
